<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>属性选择器</title>
    <style>
        [type]{

        }
    </style>
</head>
<body>
    <div type="a">阿拉松松松</div>
</body>
</html>